package com.gate.server;

import java.io.File;
import java.io.IOException;

import org.ini4j.Wini;

import com.base.wslisten.WSServerListen;

/**
 * Hello world!
 *
 */
public class Gate extends WSServerListen
{
	public Gate(int port) {
		super(port, new GateRepeater());
	}
	public static void main(String[] args) {
		{
			{
				try {
					Wini ini = new Wini(new File(""));
			        String codeType = ini.get("qrCode", "code");
			        System.out.println(codeType);
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		new Gate(1012).run();
	}
}
